/* 全局样式重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  list-style: none;
}

body {
  font-family: "Microsoft YaHei", sans-serif;
  background-color: #f5f5f5;
  color: #333;
}

/* 头部样式 */
header {
  height: 80px;
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.header-inner {
  width: 1200px;
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.header-inner img {
  height: 40px;
}

/* 主内容区样式 */
main {
  width: 1200px;
  margin: 30px auto;
}

/* 标签栏样式 */
.tag-list {
  display: flex;
  margin-bottom: 20px;
  background-color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.tag-item {
  padding: 8px 16px;
  margin-right: 10px;
  color: #666;
  border-radius: 20px;
  font-size: 14px;
  transition: all 0.3s;
}

.tag-item:hover {
  background-color: #f0f0f0;
}

.tag-active {
  background-color: #1677ff;
  color: #fff;
}

/* 专辑列表样式 */
.playlist {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.album {
  width: 180px;
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s;
  padding: 15px;
}

.album:hover {
  transform: translateY(-5px);
}

.cover-wrap {
  position: relative;
  display: block;
  width: 150px;
  height: 150px;
  margin: 0 auto 10px;
}

.cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

.cover-mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0);
  transition: background-color 0.3s;
}

.cover-play {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  opacity: 0;
  transition: opacity 0.3s;
}

.cover-wrap:hover .cover-mask {
  background-color: rgba(0, 0, 0, 0.3);
}

.cover-wrap:hover .cover-play {
  opacity: 1;
}

.nowrap {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.album-title {
  color: #333;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 5px;
}

.album-title:hover {
  color: #1677ff;
}

.album-author {
  color: #666;
  font-size: 12px;
  margin-bottom: 5px;
}

.album-time {
  color: #999;
  font-size: 11px;
}

/* 分页样式 */
.page {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 40px 0;
  gap: 8px;
}

.page-item {
  padding: 8px 14px;
  border: 1px solid #ddd;
  border-radius: 4px;
  color: #666;
  font-size: 14px;
  transition: all 0.3s;
}

.page-item:hover:not(.page-more) {
  border-color: #1677ff;
  color: #1677ff;
}

.page-current {
  background-color: #1677ff;
  color: #fff;
  border-color: #1677ff;
}

.page-more {
  border: none;
  color: #999;
  cursor: default;
}

.page-next {
  padding: 8px 12px;
}